package com.travel.group.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.util.Date;
import java.util.List;

/**
 * @Author Xudaoxu
 * @create 2021-05-26 2021/5/26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "forum")
public class Forum {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private String type;
    private String tel;
    private String addr;
    private String route;
    private int status;

    @TableField(exist = false)
    private Integer number;

    @TableField(exist = false)
    private List<GroupWxuser> list;
}
